/**
 * 
 */
package com.door.erp.dao;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.door.erp.dao.base.GenericDao;
import com.door.erp.enums.OrderStatus;
import com.door.erp.model.Orders;

/**产品dao
 * @author xiaolongwei
 *
 */
public interface OrderDao extends GenericDao<Orders, Long> {
	
	public List<Orders> listOrders(final Map<String,Object> params,final int startRow,final int pageSize);
	
	public int listOrdersCount(final Map<String,Object> params);
	
	public List<Orders> listOrders(final int startRow,final int pageSize);
	
	public int listOrdersCount();
	
	public List<Orders> getOrdersByExport(Date beginTime, Date endTime, OrderStatus orderStatus);
}
